.header {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  overflow: hidden;
  padding: 0 20px;
  width: 100%;
  height: 44px;
  border-bottom: 2px solid #ccc;
  background-color: #f9f9f9;

  .status {
    float: right;
    line-height: 42px;
    font-size: 14px;

    h1 {
      margin: 0;
      font-size: 20px;
      line-height: 44px;
    }
  }

  .select-case {
    display: flex;
    align-items: center;
    line-height: 44px;
    font-size: 13px;

    .test-case-name {
      margin-right: 15px;
      line-height: 35px;
      max-width: 120px;
      overflow: hidden;
      display: inline-block;
      white-space: nowrap;
      text-overflow: ellipsis;

      &.unsaved {
        color: orange;
  
        &::after {
          content: '*';
          margin-left: 3px;
        }
      }
    }
  }

  .actions {
    margin-top: 6px;

    .ant-btn-group > .ant-btn-group {
      float: none;
    }

    .play-actions {
      margin: 0 10px;
    }
  }
}

.ant-dropdown-menu {
  max-height: 300px;
  overflow-y: auto;

  .editing {
    color: blue !important;
  }
}

.settings-modal {
  .ant-checkbox-wrapper + .ant-checkbox-wrapper {
    margin-left: 0;
  }

  .tip {
    margin-left: 15px;
    color: #aaa;
  }

  .backup-pane {
    padding: 0 20px;

    h4 {
      font-size: 16px;
      margin-bottom: 10px;
    }

    .row {
      margin-bottom: 10px;
      
    }

    p {
      margin-bottom: 5px;
    }

    ul {
      li {
        margin-bottom: 5px;
      }
    }
  }

  .security-pane {
    padding: 0 20px 20px;
    
    h4 {
      font-size: 16px;
      margin-bottom: 10px;
    }

    p {
      margin-bottom: 10px;
    }

    label {
      margin-right: 10px;
    }

    .ant-radio-wrapper {
      display: block;
      height: 30px;
      line-height: 30px;
    }
  }

  .xmodules-pane {
    padding: 0 0 20px;

    .xmodule-item {
      margin-bottom: 25px;
      padding: 15px;
      border: 2px solid #333;
      font-size: 14px;
      box-shadow: rgba(0, 0, 0, 0.5) 0px 2px 5px 0px;

      label {
        margin-right: 15px;
        width: 100px;
        font-size: 14px;
      }

      .xmodule-title {
        margin-bottom: 10px;
        font-size: 14px;

        & > * {
          margin-right: 20px;

          &:last-child {
            margin-right: 0;
          }
        }
      }

      .xmodule-status {
        display: flex;
        margin-bottom: 20px;

        .status-box {
          & > * {
            margin-right: 15px;

            &:last-child {
              margin-right: 0;
            }
          }
        }
      }

      .xmodule-settings {
        h3 {
          margin-bottom: 10px;
          font-size: 14px;
          font-weight: bold;
        }

        .xmodule-settings-item {
          .settings-detail {
            display: flex;
            flex-direction: row;
            margin-bottom: 10px;

            .settings-detail-content {
              flex: 1;
            }
          }
        }

        .check-result {
          margin-top: 5px;
          color: red;
          font-size: 13px;
        }
      }
    }
  }
}